package cn.kgc.taolun2.service;

import cn.kgc.taolun2.pojo.Detail;
import com.github.pagehelper.PageInfo;

/**
 * @author shkstart
 * @create 2020-05-22 11:54
 */
public interface DetailService {

    //查询所有
    PageInfo<Detail> getPageInfo(Integer pageNum,Integer pageSize,Integer sortId);

    //增加
    public Integer addDetail(Detail detail);

    //删除
    public Integer deleteDetail(Integer id);

    //根据id查询
    public Detail  selectById(Integer id);
    //修改
    public Integer updateDetail(Detail detail);

}
